<ion-view view-title="商品详情" class="goodsdetail">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
	</ion-nav-bar>
	
	<ion-content class="bg">
		<!--描述：商品图片轮播-->
		<ion-slide-box delegate-handle="advs-handle" slide-interval="5000" show-pager="true">
			<ion-slide ng-repeat="img in data.goods.images">
				<img src="{{img.image}}" width="100%" />
			</ion-slide>
		</ion-slide-box>
		
		<div class="item goodsNameItem">
			{{data.goods.name}}
		</div>
		<div class="item item-borderless">
			<div class="item padding-0 noborder float_left" style="padding-top: 10px;">
				<span class="sxjf">{{data.goods.consume_score}}</span>
				<img class="icon" src="./img/guilin/other/point.png" />
				<span class="xzsl">每人限换{{data.goods.max_buy_store}}件</span>
			</div>
			<div class="item padding-0 noborder float_right" ng-show='data.goods.store > 0'>
				<p class="kz">库存{{data.goods.store}}件</p>
				<div class="numDiv" style="text-align: right;">
					<div class="add" on-tap="reduce()">-</div>
					<input type="number" ng-model="data.count" readonly="readonly" />
					<div class="add" on-tap="add()">+</div>
				</div>
			</div>
		</div>
		
		<div class="item spxq" ng-bind-html="data.goods.goods.intro">
		</div>
		<div class="item item-borderless item-text-wrap" ng-bind-html="data.goods.exchangerule"></div>
	</ion-content>
	
	<div class="bar bar-footer">
		<div class="exchangeBtn" on-tap='get_goods()'>立即兑换</div>
	</div>
</ion-view>